home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.5 KB | 60 lines | [TEXT/MPS ] |
- ;
- ; File: Notification.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__NOTIFICATION__') = 'UNDEFINED' THEN
- __NOTIFICATION__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
- include 'OSUtils.a'
- ENDIF
- ; include 'MixedMode.a' ;
- ; include 'Memory.a' ;
- NMRec RECORD 0
- qLink ds.l 1 ;next queue entry
- qType ds.w 1 ;queue type -- ORD(nmType) = 8
- nmFlags ds.w 1 ;reserved
- nmPrivate ds.l 1 ;reserved
- nmReserved ds.w 1 ;reserved
- nmMark ds.w 1 ;item to mark in Apple menu
- nmIcon ds.l 1 ;handle to small icon
- nmSound ds.l 1 ;handle to sound record
- nmStr ds.l 1 ;string to appear in alert
- nmResp ds.l 1 ;pointer to response routine
- nmRefCon ds.l 1 ;for application use
- sizeof EQU 36
- ENDR
-
- ; ------------------
- IF GENERATING68K THEN
- _NMInstall: OPWORD $A05E
- ELSE
- IMPORT NMInstall
- ENDIF
-
- IF GENERATING68K THEN
- _NMRemove: OPWORD $A05F
- ELSE
- IMPORT NMRemove
- ENDIF
-
- ENDIF ; __NOTIFICATION__
-